package com.lijin.study.designpattern.book.ch03.after;

public class CategoryA implements SalaryCalculator {
	double baseSalary;
	double OT;

	public CategoryA(double base, double overTime) {
		baseSalary = base;
		OT = overTime;
	}

	public double getSalary() {
		return (baseSalary + OT);
	}
}
